<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8"/>
  <title>生成订单</title>
  <link rel="stylesheet" href="/css/bootstrap.css" th:href="@{/css/bootstrap.css}"/>
</head>
<body class="container">
<br/>
<h1>生成订单</h1>
<br/><br/>
<div class="with:80%">
  <form class="form-horizontal"   th:action="@{/order/addIndent}"  method="post">

    <div class="form-group">
      <label for="begintime" class="col-sm-2 control-label">订单开始时间</label>
      <div class="col-sm-10">
        <input type="text" name="begintime"  id="begintime" placeholder="订单开始时间"/>
      </div>
    </div>

    <div class="form-group">
      <label for="endtime" class="col-sm-2 control-label">订单结束时间</label>
      <div class="col-sm-10">
        <input type="text" name="endtime"  id="endtime" placeholder="订单结束时间"/>
      </div>
    </div>

    <div class="form-group">
      <label for="userId" class="col-sm-2 control-label">租房人</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" name="userId"  id="userId" placeholder="Userid"/>
      </div>
    </div>
    <div class="form-group">
      <label for="apartment_id" class="col-sm-2 control-label" >公寓编号</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" name="apartment_id" id="apartment_id" placeholder="Apartment_id"/>
      </div>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <input type="submit" value="提交" class="btn btn-info" />
        &nbsp; &nbsp; &nbsp;
        <input type="reset" value="重置" class="btn btn-info" />

      </div>

    </div>
  </form>
</div>
</body>
</html>
